

//返回 list 的 page rows
exports.get_list_page_size_param = function(req){

    var param = {page: 1, rows: 10};
    var page = req.param('page');
    var rows = req.param('rows');
    if (!page) {
        param.page = 1;

    } else {
        param.page = page;

    }


    if (!rows) {
        param.rows = 10;

    } else {
        param.rows = rows;

    }

    return param;
}